Anatomy of a Program with a Graphical UI Classes in the Example Program The Component Hierarchy Event Handling Drawing